package com.xbongbong.pro.form.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author feng.zheng
 * @date 2019/5/25 15:34
 */
@Getter
@Setter
@ToString
public class FormConfigSetDTO extends BaseDTO{

    private Integer businessType;
    /**
     * 配置
     */
    @NotNull(message = "{dto.msg.formConfigSet.config.NotNull}")
    private String config;
    /**
     * 要设置的值
     */
    @NotNull(message = "{dto.msg.formConfigSet.configValue.NotNull}")
    private String configValue;
    /**
     * 表单id
     */
    @NotNull(message = "{dto.msg.formConfigSet.formId.NotNull}")
    private Long formId;

}
